package com.zhenhua.server.dao;

import java.util.List;

import com.common.entity.Appointment;

public interface IAppointmentServer {
	
	public utils.Page<Appointment> getPageByStuNumber(Integer stuNumber,int currentPage,int pageSize);
	public utils.Page<Appointment> getPageByCoachNumber(Integer coachNumber,int currentPage,int pageSize);
	
	public int insert(Appointment appointment);

	public boolean deleteByIds(int...id);
	
    public Appointment getAppointmentById(int id);
	
    public List<Appointment> getAppointmentByStuNumber(int stuNumber);
    
    public int update(Appointment appointment);
}
